package com.pojo.resp;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.pojo.parent.CustomLocalDateTimeDeserializer;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BaseResp {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 创建人
     */

    private String createUserName;

    /**
     * 创建时间
     */
    @JsonSerialize(using = CustomLocalDateTimeDeserializer.class)
    private LocalDateTime createTime;

    /**
     *
     * 更新人
     */

    private String updateUserName;

    /**
     * 更新时间
     */
    @JsonSerialize(using = CustomLocalDateTimeDeserializer.class)
    private LocalDateTime updateTime;
}
